import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export const constantRoutes = [
    {
        path: '/temp',
        component: () => import('@/views/temp/index.vue'),
    },
    {
        path: '/attackAngle',
        component: () => import('@/views/attackAngle/index.vue'),
    },
    {
        path: '/attackAngle/detail',
        component: () => import('@/views/attackAngle/detail/index.vue'),
    },
    {
        path: '/impactSituation',
        component: () => import('@/views/impactSituation/index.vue'),
    },
    {
        path: '/impactSituation/detail',
        component: () => import('@/views/impactSituation/detail/index.vue'),
    },
    {
        path: '/juhe',
        component: () => import('@/views/juhe/index.vue'),
    },
]

const createRouter = () => new Router({
    routes: constantRoutes
})

const router = createRouter()

export default router
